package com.zq.it.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Course entity. @author MyEclipse Persistence Tools
 */

public class Course implements java.io.Serializable {

	// Fields

	private Integer courseId;
	private String courseName;
	private Date createDate;
	private String state;
	private Set chapters=new HashSet();
	public Set getChapters() {
		return chapters;
	}
	public void setChapters(Set chapters) {
		this.chapters = chapters;
	}

	private String extends_;
	//private Set testpapers = new HashSet(0);

	// Constructors

	/** default constructor */
	public Course() {
	}
public Course(Integer courseId){
	this.courseId=courseId;
}
	/** minimal constructor */
	public Course(String courseName, Date createDate, String state) {
		this.courseName = courseName;
		this.createDate = createDate;
		this.state = state;
	}
	
	public Course(Integer courseId,String courseName){
		this.courseId=courseId;
		this.courseName=courseName;
	}
	
	

	// Property accessors

	public Integer getCourseId() {
		return this.courseId;
	}

	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}

	public String getCourseName() {
		return this.courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getExtends_() {
		return this.extends_;
	}

	public void setExtends_(String extends_) {
		this.extends_ = extends_;
	}

//	public Set getTestpapers() {
//		return this.testpapers;
//	}
//
//	public void setTestpapers(Set testpapers) {
//		this.testpapers = testpapers;
//	}

}